package com.itheima.extendsDemo;

public class Test {
    public static void main(String[] args) {
        Zi zi=new Zi();
        Fu fu=zi;
        System.out.println(zi.getAge());
        System.out.println(zi.getName());
        zi.play();
        zi.eat();
        fu.play();
        fu.eat();

    }
}
